package com.ygg.service;

import com.ygg.model.hosp.Schedule;
import com.ygg.vo.hosp.ScheduleOrderVo;
import com.ygg.vo.hosp.ScheduleQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface ScheduleService {
    void saveSchedule(Map<String, Object> map);

    Page<Schedule> scheduleList(Integer pageNum, Integer pageSize, ScheduleQueryVo scheduleQueryVo);

    void scheduleRemove(Map<String, Object> map);

    Map<String, Object> getRuleSchedule(ScheduleQueryVo vo, Integer page, Integer limit);

    List<Schedule> getDetailSchedule(String hoscode, String depcode, String workDate);


    Map<String, Object> getBookingScheduleRule(Integer page, Integer limit, String hoscode, String depcode);

    Schedule getById(String scheduleId);

    ScheduleOrderVo getScheduleOrderVo(String scheduleId);

    /**
     * 修改排班
     */
    void update(Schedule schedule);

    //根据排班编号获取
    Schedule getByHosScheduleId(String scheduleId,String hoscode);
}
